<Grid Background="#AA000000">
  <Grid.Triggers>
    <EventTrigger RoutedEvent="UIScene.TransitionIn">
      <BeginStoryboard>
        <BeginStoryboard.Storyboard>
          <Storyboard>
            <SingleAnimation Storyboard.TargetProperty="Opacity" FillBehavior="Stop" From="0.0" To="1.0" Duration="00:00:00.5" />
          </Storyboard>
        </BeginStoryboard.Storyboard>
      </BeginStoryboard>
    </EventTrigger>
    <EventTrigger RoutedEvent="UIScene.TransitionOut">
      <BeginStoryboard>
        <BeginStoryboard.Storyboard>
          <Storyboard>
            <SingleAnimation Storyboard.TargetProperty="Opacity" To="0.0" Duration="00:00:00.5" />
          </Storyboard>
        </BeginStoryboard.Storyboard>
      </BeginStoryboard>
    </EventTrigger>
  </Grid.Triggers>

  <Grid Width="200" Height="200">
    <Grid MaxWidth="400" MaxHeight="400" MinWidth="200" MinHeight="200" HorizontalAlignment="Center" VerticalAlignment="Center">
      <Rectangle Stroke="Orange" Fill="Black" StrokeThickness="3" RadiusX="10.0" RadiusY="10.0" />
      <TextBlock x:Name="NotifyText" TextAlignment="Center" TextWrapping="Wrap" Margin="5, 10, 5, 0" HorizontalAlignment="Center" FontFamily="Swiss" FontSize="30" Foreground="White">COULDN'T CONNECT TO SERVERERERER</TextBlock>
      <StackPanel HorizontalAlignment="Center" VerticalAlignment="Bottom" Orientation="Horizontal" Margin="0, 0, 0, 10">
        <Button x:Name="CancelButton" MinWidth="70" Margin="5, 0, 5, 0" FontFamily="Swiss" FontSize="30" Foreground="Black">CANCEL</Button>
        <Button x:Name="OkButton" MinWidth="70" Margin="5, 0, 5, 0" FontFamily="Swiss" FontSize="30" Foreground="Black">OK</Button>
      </StackPanel>
    </Grid>
  </Grid>
</Grid>

